package com.term.service.impl;

import com.term.service.ICompanyService;
import com.term.dao.ICompanyDao;
import com.term.domain.Company;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by chenGang on 2017/1/14.
 */
@Service(value = "companyService")
public class CompanyServiceImpl extends BaseServiceImpl<Company> implements ICompanyService {

    private ICompanyDao companyDao;

    @Resource
    public void setCompanyDao(ICompanyDao companyDao) {
        this.companyDao = companyDao;
        setBaseDao(companyDao);
    }
}
